package com.java2207.group1.mapper;

import com.java2207.group1.bo.MonthBo;
import com.java2207.group1.pojo.Income;

import java.util.List;
import java.util.Map;

/**
 * @author HuiCL
 * @version 1.0
 * @date 2022/7/25 18:02
 */
public interface IncomeMapper {
    int addRevenue(Income income);

    int updateRevenue(Income income);

    int deleteRevenueById(int id);

    List<Income> revenuePageData(Map<String, Object> params);

    List<Income> selectDataThatMeetConditions(Income income);

    @Deprecated
    List<MonthBo> queryIncomeFromYear(String year);

    int batchRemoveIncome(List<Integer> list);
}
